package com.ikas.ai.server.module.condition.dto;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @Description: 工况流程步骤详情DTO
 * @Author: qi.yilai
 * @Date: 2023/4/25 11:03
 * @Version: 1.0.0
 **/
@Data
public class WorkConditionStepDetailDTO {

    private Long id;

    private Long detailId;

    /**
     * 工况id
     */
    private Long wfId;

    /**
     * 步骤id
     */
    private Long stepId;

    private String stepName;

    private String meteName;

    private String meteCode;

    private String validMeteValue;

    /**
     * 子detailid集合
     */
    private List<Long> subDetailIds;

    /**
     * 逻辑操作符（|| or &&）
     */
    private String subLogicalOperator;

    /**
     * 父detailId
     */
    private Long pDetailId;

    /**
     * 是否是叶子节点
     */
    private Boolean leaf;

    private Byte type;

    private String label;

    private Integer labelType;
    /**
     * 1=更新sort排序后第一条数据，2=相同测点编码全部更新
     */
    private Integer updatePolicy;

    /**
     * 测点值是否工况流程测点值先收到 0正常 1提前
     */
    private Integer earlyCache;
    private Map<String,List<String>> pMeteCode;

    private Integer groupNo;

    private Long groupStepId;

    private Integer sort;
}
